{% extends "catalog/base_generic.html" %}

{% block content %}
<h1>修改密码</h1>
<form method="post">
  {% csrf_token %}
  {{ form.as_p }}
  <button type="submit" class="btn btn-primary">确认修改</button>
  <a href="{% url 'index' %}" class="btn btn-secondary ml-2">返回首页</a>
</form>
{% endblock %}